package com.zcs.app.wisdomschool.bean;

import com.greateffect.littlebud.lib.mvp.BaseBean;

import java.util.UUID;

/**
 * Created by ZengCS on 2019/9/24.
 * E-mail:zengcs@vip.qq.com
 * Add:成都市天府软件园E3
 * Desc:类说明
 */
public class EvaluateBean extends BaseBean {
    private String id;
    private String name;
    private String pic;
    private String desc;
    private int icon;
    private boolean hasApply;
    private boolean isFree;
    private boolean canApply;

    public EvaluateBean(String name, String pic) {
        this(name, pic, true);
    }

    public EvaluateBean(String name, String pic, boolean canApply) {
        this(name, pic, "", canApply);
    }

    public EvaluateBean(String name, String pic, String desc, boolean canApply) {
        this.id = UUID.randomUUID().toString();
        this.name = name;
        this.pic = pic;
        this.desc = desc;
        this.canApply = canApply;
    }

    public EvaluateBean(String name, int icon, String desc, boolean canApply) {
        this.id = UUID.randomUUID().toString();
        this.name = name;
        this.icon = icon;
        this.desc = desc;
        this.canApply = canApply;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public boolean isHasApply() {
        return hasApply;
    }

    public void setHasApply(boolean hasApply) {
        this.hasApply = hasApply;
    }

    public boolean isFree() {
        return isFree;
    }

    public void setFree(boolean free) {
        isFree = free;
    }

    public boolean isCanApply() {
        return canApply;
    }

    public void setCanApply(boolean canApply) {
        this.canApply = canApply;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }
}
